package com.tree;

import java.util.*;

/**
 * @author 代廷波
 * @className: Tree
 * @description:
 * @create 2018/11/8 0008-16:54
 **/
public class Tree {

    private Long id;
    private Long pid;
    private String cityName;
    private List<Tree> children;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public List<Tree> getChildren() {
        return children;
    }

    public void setChildren(List<Tree> children) {
        this.children = children;
    }
}
